#ifndef LINE_NUMBER_AREA_H
#define LINE_NUMBER_AREA_H

#include <QtGui/QWidget>
#include <QtGui/QPaintEvent>

class LineNumberArea : public QWidget
{
	Q_OBJECT

public:
	LineNumberArea(QWidget *parent = 0);
	~LineNumberArea(void);
	QSize sizeHint() const;
public slots:
	void onLineNumberAreaWidthChange(int);
protected:
     void paintEvent(QPaintEvent *);
private:
	int lineNumberAreaWidth;
signals:
	void onPaint(QPaintEvent *);
};

#endif // LINE_NUMBER_AREA_H